package cn.edu.csust.coursecard.utils;

import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class MessageRedisUtil {
    @Resource
    private RedisUtil redisUtil;

    public void putTaskMessage(String taskId, String message) {
        redisUtil.set("ws::message::" + taskId, message);
    }
}
